/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-08-20 09:59:41
 * @LastEditTime: 2019-08-23 20:48:17
 * @LastEditors: Please set LastEditors
 */


const express = require('express')
const app = express()
const fs = require('fs')


app.get("/", 
    function (req, res, next) {
        fs.writeFile("/inaccessible-path", "data", next);
    },
    [function (req, res) {
        res.send("OK");
    }]
);


app.listen(3000)